<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>  
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<html>
	<head>
		<meta charset="utf-8">
		<title>博约App下载</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<style>
			body,html{margin: 0;padding: 0;height: 100%;background: url(<%=basePath%>share/img/bg.jpg) no-repeat top;background-size:cover;position: relative;display: table;width: 100%;}
			.link{width: 100%;text-align: center;display: table-cell;vertical-align: bottom;}
			.link a{display: inline-block;width: 44%;padding: 50px 0;vertical-align: middle;margin:15px 1%;}
			.link a.AndroidBtn{background: url(<%=basePath%>share/img/AndroidBtn.png) no-repeat center;background-size:100%;}
			.link a.iOSBtn{background: url(<%=basePath%>share/img/iOSBtn.png) no-repeat center;background-size:100%;}
		</style>
	</head>
	<body>
		<div class="link">
			<a href="index.html" class="btn iOSBtn"></a>
			<a href="index.html" class="btn AndroidBtn"></a>
		</div>
	</body>
	<script src="<%=basePath%>/share/js/jquery-2.1.4.min.js"></script>
	<script type="text/javascript">
	$(function(){
		if ($(window).width()>900){
			 location.href = '<%=basePath%>/View/share/sharePc.do';
		}
	})
	</script>
</html>

